install:
	g++ -lSDL2 -lSDL2_image   -c -g -I/usr/include/SDL2 -I/usr/include/nlohmann -std=c++14 renderer.cpp
	g++ -lSDL2 -lSDL2_image   -c -g -I/usr/include/SDL2 -I/usr/include/nlohmann -std=c++14 game.cpp
	g++ -lSDL2 -lSDL2_image   -c -g -I/usr/include/SDL2 -I/usr/include/nlohmann -std=c++14 tile.cpp
	g++ -lSDL2 -lSDL2_image   -c -g -I/usr/include/SDL2 -I/usr/include/nlohmann -std=c++14 collision.cpp
	g++ -lSDL2 -lSDL2_image   -c -g -I/usr/include/SDL2 -I/usr/include/nlohmann -std=c++14 map.cpp

	g++ -g -I/usr/include/SDL2 -I/usr/include/nlohmann -std=c++14 tile.o renderer.o game.o collision.o map.o main.cpp -L/usr/lib/x86_64-linux-gnu -lSDL2 -lSDL2_image -o cc

clean:
	rm *.o
	rm cc
